import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {AliOSSComponent} from './ali-oss.component';

const routes: Routes = [
    {path: '', component: AliOSSComponent,
        children: [
            {path: '', redirectTo: 'upload-object', pathMatch: 'full'},
            {path: 'upload-object', loadChildren: './upload-object-ali-oss/upload-object-ali-oss.module#UploadObjectAliOssModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class AliOSSRoutingModule {
}
